﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace OrderManager
{
    public partial class ManageOrders : Form
    {
        public ManageOrders()
        {
            InitializeComponent();
        }

        private void newOrderClicked(object sender, EventArgs e)
        {
            NewOrder window = new NewOrder();
            window.Activate();
            window.ShowDialog();

            return;
        }

        private void modifyOrderClicked(object sender, EventArgs e)
        {
            ModifyOrder window = new ModifyOrder();
            window.Activate();
            window.ShowDialog();

            return;
        }

        private void deleteOrderClicked(object sender, EventArgs e)
        {
            DeleteOrder window = new DeleteOrder();
            window.Activate();
            window.ShowDialog();

            return;
        }

        private void closeClicked(object sender, EventArgs e)
        {
            this.Close();
            return;
        }
    }
}
